/*
 * Powered By agile
 * Web Site: http://www.agile.com
 * Since 2008 - 2017
 */

package persistent.prestige.web.demo.model;

import persistent.prestige.web.base.model.AuditableModel;

/**
 * EsOrderItem demo性质
 * 
 * @version 1.0
 */
public class OrderItem extends AuditableModel {

	/** 订单ID */
	private java.lang.Integer orderId;
	/** 货品ID */
	private java.lang.Integer skuId;
	/** 商品ID */
	private java.lang.Integer goodsId;
	/** 价格（当时下单价格） */
	private Long price;
	/** 数量 */
	private java.lang.Integer num;
	/** 总价格=商品单价*数量=实际支付金额+优惠的金额 */
	private Long totalPrice;

	public java.lang.Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(java.lang.Integer orderId) {
		this.orderId = orderId;
	}

	public java.lang.Integer getSkuId() {
		return skuId;
	}

	public void setSkuId(java.lang.Integer skuId) {
		this.skuId = skuId;
	}

	public java.lang.Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(java.lang.Integer goodsId) {
		this.goodsId = goodsId;
	}

	public Long getPrice() {
		return price;
	}

	public void setPrice(Long price) {
		this.price = price;
	}

	public java.lang.Integer getNum() {
		return num;
	}

	public void setNum(java.lang.Integer num) {
		this.num = num;
	}

	public Long getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(Long totalPrice) {
		this.totalPrice = totalPrice;
	}

}
